package com.wealth.lottery.enums;
/**
 * 活动状态枚举
 * @author lihang 2016-06-27
 */
public enum LotteryActivityStatusEnums {
DELETE(0,"删除"), NORMAL(1,"启用"), STOP(2,"停用");
	
	private int value;
	private String comment;
	private LotteryActivityStatusEnums(int value,String comment){
		this.value = value;
		this.comment =comment;
	}
	
	public int getValue(){
		return value;
		
	}
	public String getComment(){
		return comment;
	}
	public static LotteryActivityStatusEnums get(int value){
		for (LotteryActivityStatusEnums o:LotteryActivityStatusEnums.values()) {
			if(o.value ==value){
				return o;
			}
		}
		return null;
	}

}
